#include <gtest/gtest.h>

#include <QtCore/QCoreApplication>

#include "Server.h"
#include <windows.h>

int main(int argc, char *argv[])
{
    char currentDir[1024];
    GetCurrentDirectoryA(1024, currentDir);
	testing::InitGoogleTest(&argc, argv);
	QCoreApplication a(argc, argv);

	return RUN_ALL_TESTS();
}


TEST(TCCore, runserver)
{
	Server();
}